{% load i18n %}
<a href="{% url url_delete record.pk %}">{% if link_delete_text %}{% trans link_delete_text|capfirst %}{% else %}{% trans 'delete'|capfirst %}{% endif %}</a>